package class1.s2022350143027;

import class1.s2022350143027.controller.HomeController;
import class1.s2022350143027.controller.LoginController;

import java.sql.SQLException;


public class YzyTestMain {
    public static void main(String[] args) throws SQLException {
//        LoginController login = new LoginController();
//        if(login.Login()){  //登录成功执行 系统页面
//            HomeController home = new HomeController();
//            home.SessionLogin = true; //记录登录状态
//            home.h_page();
//        }

        //test
        HomeController home = new HomeController();
        home.SessionLogin = true; //记录登录状态
        home.h_page();
    }
}